package com.info33.platform.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.info33.platform.system.entity.SysUserEducation;
import com.info33.platform.system.vo.SysUserEducationVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author admin
 */
@Repository
public interface SysUserEducationDao extends BaseMapper<SysUserEducation> {

    /**
     * 根据用户 id，获取集合
     *
     * @param uid sys_user id
     * @param tid 租户 id
     * @return -
     */
    List<SysUserEducationVO> getByUid(@Param("uid") Long uid, @Param("tid") Long tid);

}